<?php

class m130707_151624_config_min_amount_transfer_an_rate_transfer extends CDbMigration
{
	public function up()
	{
		$this->insert('settings', array(
			'type' => 'setting',
			'name' => 'min_transfer',
			'value'=> '5000'
		));
		$this->insert('settings', array(
			'type' => 'setting',
			'name' => 'transfer_rate',
			'value'=> '5'
		));
	}

	public function down()
	{
		echo "m130707_151624_config_min_amount_transfer_an_rate_transfer does not support migration down.\n";
		return false;
	}

	/*
	// Use safeUp/safeDown to do migration with transaction
	public function safeUp()
	{
	}

	public function safeDown()
	{
	}
	*/
}